package com.dacool.model;

import java.util.ArrayList;

import com.dacool.model.DacoolProduct.ProductSpec;

@Deprecated
public class ProductSource {
//	public static ArrayList<DacoolProduct> getRecommendProductList() {
//		ArrayList<DacoolProduct> recommendList = new ArrayList<DacoolProduct>();
//		int mockCount = (int) (Math.random() * 100);
//		for (int i = 0; i < mockCount; i++) {
//			DacoolProduct product = new DacoolProduct();
//			product.setName("product " + i);
//			product.setId("" + i);
//			product.setDescription("descrition " + i);
//			product.setPrice((float) (Math.random() * 200));
//			int specCount = (int) (Math.random() * 2 + 1);
//			ArrayList<ProductSpec> specs = new ArrayList<DacoolProduct.ProductSpec>();
//			for (int j = 1; j <= specCount; j++) {
//				ProductSpec spec = new ProductSpec();
//				spec.name = j + "L";
//				spec.id = j + "L";
//				specs.add(spec);
//			}
//			product.setProductSpecs(specs);
//			recommendList.add(product);
//		}
//		return recommendList;
//	}
}
